/*! ---- 显示充值备注 ---- */
function show_with_info(e){		
	layer.open({
		type: 2,
		title: '提现详情',
		shadeClose: true,
		shade: 0.8,
		area: ['80%', '50%'],
		content: './index.php?s=/api/ajax/show_with_info.html&id='+e
	});
}	


function show_info(e){		
	layer.open({
		type: 2,
		title: '审核详情',
		shadeClose: true,
		shade: 0.8,
		area: ['80%', '50%'],
		content: './index.php?s=/api/ajax/show_with_info_refuse.html&id='+e
	});
}


function recharge_review_refuse(e){
	layer.prompt({
		  title: '请输入拒绝原因',
		  formType: 2 //prompt风格，支持0-2
	}, function(remark,index){
		layer.close(index);
		var index = layer.load(1);
		var url="./index.php?s=/admin/Withdrawals/review.html&id="+e+"&with_type=-1&remark="+remark;
		 $.getJSON(url,'',function(json){
			 if(json.status){
				 layer.msg(json.msg);
			     location.reload();
			 }else{
				 layer.msg(json.msg);
			     layer.close(index);
			 }
		 });
		
	});
}